Thesaurus-Based Tag Clouds for Test-Driven Code Search
نویسندگان
چکیده
Test-driven code search (TDCS) is an approach to code search and reuse that uses test cases as inputs to form the search query. Together with the test cases that provide more semantics to the search task, keywords taken from class and method names are still required. Therefore, the effectiveness of the approach also relies on how good these keywords are, i.e., how frequently they are chosen by developers to name the desired functions. To help users choose adequate words in their query test cases, visual aids can be used. In this paper we propose thesaurus-based tag clouds to show developers terms that are more frequently used in the code repository to improve their search. Terms are generated by looking up words similar to the initial keywords on a thesaurus. Tag clouds are then formed based on the frequency in which these terms appear in the code base. Our approach was implemented with an English thesaurus as an extension to CodeGenie, a Javaand Eclipse-based TDCS tool. Our evaluation shows evidence that the approach can help improve the number of returned results, recall (by ∼28%, on average), and precision (by ∼14%, on average). We also noticed the visual aid can be especially useful for non-native speakers of the language in which the code repository is written. These users are frequently unaware of the most common terms used to name specific functionality in the code, in the given language.
منابع مشابه
Piloted Search and Recommendation with Social Tag Cloud-Based Navigation
We investigate the generation of tag clouds using Bayesian models and test the hypothesis that social network information is better than overall popularity for ranking new and relevant information. We propose three tag cloud generation models based on popularity, topics and social structure. We conducted two user evaluations to compare the models for search and recommendation of music with soci...
متن کاملE-learning Document Search Method with Supplemental Keywords Derived from Keywords in Meta-Tag and Descriptions which are Included in the Header of the First Search Result
Optimization method for e-learning document search with keywords which are derived from the keywords and descriptions in the meta-tag of web search results together with thesaurus engine is proposed. 15 to 20% of improvement on hit rate of search performance is confirmed with the proposed search engine. KeywordsSearch engine; e-learning content; thesaurus engine.
متن کاملMobile Location-Driven Associative Search in DBpedia with Tag Clouds
A primary contextual source for today’s context-sensitive mobile phone apps is the user’s location. The recent surge in the availability of open linked data can provide location-oriented semantic context, still wanting to be explored in innovative ways. In PediaCloud, the Android tool described here, we show how we can use the associative structure of the Semantic Web at a geographical location...
متن کاملMethods and Tools of Knowledge Management at the Semantic Web Enviroment
Annotation: the main problems of ontological knowledge management for Web are analyzed, e.g. the problem of integration of knowledge from different sources, knowledge acquisition and knowledge retrieval for specific task. Methods of automated generation of metadata described the semantics of informational resources and for personalized search on base of thesauri and ontologies of user subject d...
متن کاملA Context-based Technique Using Tag-tree for an Effective Retrieval from a Digital Literature Collection
The increasing growth of information in online digital libraries causes an increasing need to develop techniques to retrieve. In the digital library, findability-finding the user required information is a hectic task than those of usability. The major issues in findability are (a) topic diffusion: results of a traditional keyword based search, often leads to multiple topic areas, some of which ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. UCS
دوره 20 شماره
صفحات -
تاریخ انتشار 2014